package com.jinglu.cloud.common.model.enums;

import lombok.AllArgsConstructor;
import lombok.NoArgsConstructor;

/**
 * @author lvzhenzhao
 * @date 2023/1/5-11:02
 **/
@AllArgsConstructor
@NoArgsConstructor
public enum SortEnum implements BaseEnum {

    ASC("asc", "升序"),
    DESC("desc", "降序");

    private String code;

    private String name;

    @Override
    public String getCode() {
        return code;
    }

    @Override
    public String getName() {
        return name;
    }
}
